package com.education.pojo;

import java.util.Date;

public class News {
    private Integer nId;

    private String nName;

    private Date nSendTime;

    private String nContent;

    private String nImg;

    private Integer nZt;


    public News(Integer nId, String nName, Date nSendTime, String nContent, String nImg, Integer nZt) {
        this.nId = nId;
        this.nName = nName;
        this.nSendTime = nSendTime;
        this.nContent = nContent;
        this.nImg = nImg;
        this.nZt = nZt;
    }

    public News() {
        super();
    }

    public Integer getnId() {
        return nId;
    }

    public void setnId(Integer nId) {
        this.nId = nId;
    }

    public String getnName() {
        return nName;
    }

    public void setnName(String nName) {
        this.nName = nName == null ? null : nName.trim();
    }

    public Date getnSendTime() {
        return nSendTime;
    }

    public void setnSendTime(Date nSendTime) {
        this.nSendTime = nSendTime;
    }

    public String getnContent() {
        return nContent;
    }

    public void setnContent(String nContent) {
        this.nContent = nContent == null ? null : nContent.trim();
    }

    public String getnImg() {
        return nImg;
    }

    public void setnImg(String nImg) {
        this.nImg = nImg;
    }

    public Integer getnZt() {
        return nZt;
    }

    public void setnZt(Integer nZt) {
        this.nZt = nZt;
    }
}
